home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 8344 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  871 b 

  1. Path: news1.inlink.com!usenet
  2. From: mlinvle@inlink.com (mlinvle)
  3. Newsgroups: comp.lang.c++
  4. Subject: Exceptions and signals...under C++
  5. Date: 16 Feb 1996 23:52:58 GMT
  6. Organization: Inlink
  7. Message-ID: <4g35cq$adt@news1.inlink.com>
  8. NNTP-Posting-Host: slip150.inlink.com
  9. Mime-Version: 1.0
  10. Content-Type: Text/Plain; charset=US-ASCII
  11. X-Newsreader: WinVN 0.99.7
  12.  
  13. I'm writing a small programme and would like to use exceptions and signals.  
  14. I've got Watcom's C/C++ compiler v10.5 so I'm certain exceptions will work.
  15.  
  16. One of the exceptions I'd like to 'catch' is a Ctl/C pressed by the user.  
  17. I've seen a response about using signal raising under C++, but have lost it. 
  18. Borland has a ctlc(); Watcom does not.  Since I'm also trying to use 
  19. POSIX-type standards, I understand using signals in the correct way to do it.
  20.  
  21. Any thoughts?  Thanks
  22.  
  23. mark linville
  24. mlinvle@inlink.com
  25.  
  26.